package cn.itcast.domain.cargo;

import cn.itcast.domain.BaseEntity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

public class Packing implements Serializable {
    //集装箱编号
    private String id;
    //卖家地址
    private String seller;
    //买家地址
    private String buyer;
    //唛头
    private String marks;
    //描述
    private String description;
    //报运单ID集合
    private String exportIds;
    //报运合同号
    private String exportNos;
    //状态
    private Integer state;
    //总毛重
    private Double grossWeights;
    //总净重
    private Double netWeights;
    //总体积
    private Double totalVolume;

    private List<Export> exports;

    public List<Export> getExport() {
        return exports;
    }

    public void setExport(List<Export> export) {
        this.exports = export;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getSeller() {
        return seller;
    }

    public void setSeller(String seller) {
        this.seller = seller == null ? null : seller.trim();
    }

    public String getBuyer() {
        return buyer;
    }

    public void setBuyer(String buyer) {
        this.buyer = buyer == null ? null : buyer.trim();
    }

    public String getMarks() {
        return marks;
    }

    public void setMarks(String marks) {
        this.marks = marks == null ? null : marks.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public String getExportIds() {
        return exportIds;
    }

    public void setExportIds(String exportIds) {
        this.exportIds = exportIds == null ? null : exportIds.trim();
    }

    public String getExportNos() {
        return exportNos;
    }

    public void setExportNos(String exportNos) {
        this.exportNos = exportNos == null ? null : exportNos.trim();
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Double getGrossWeights() {
        return grossWeights;
    }

    public void setGrossWeights(Double grossWeights) {
        this.grossWeights = grossWeights;
    }

    public Double getNetWeights() {
        return netWeights;
    }

    public void setNetWeights(Double netWeights) {
        this.netWeights = netWeights;
    }

    public Double getTotalVolume() {
        return totalVolume;
    }

    public void setTotalVolume(Double totalVolume) {
        this.totalVolume = totalVolume;
    }

    @Override
    public String toString() {
        return "Packing{" +
                "id='" + id + '\'' +
                ", seller='" + seller + '\'' +
                ", buyer='" + buyer + '\'' +
                ", marks='" + marks + '\'' +
                ", description='" + description + '\'' +
                ", exportIds='" + exportIds + '\'' +
                ", exportNos='" + exportNos + '\'' +
                ", state=" + state +
                ", grossWeights=" + grossWeights +
                ", netWeights=" + netWeights +
                ", totalVolume=" + totalVolume +
                '}';
    }
}